package movies.domain;

/**
 *
 * @author Hanna_Aliakseichykava
 */
public class Comment {

    private int id;
    private String text;
    private int articleId;

    public Comment() {
    }

    public Comment(String text, int articleId) {
       
        this.text = text;
        this.articleId = articleId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    

}
